package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverSpecialRewardRuleCategory;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverSpecialRewardRuleType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Objects;

@Data
@ApiModel(value = "司机大红包规则列表")
public class QuerySpecialRewardRuleListWrapper extends Page<QuerySpecialRewardRuleListWrapper> {
    public QuerySpecialRewardRuleListWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "奖励类型")
    private DriverSpecialRewardRuleCategory category;

    @ApiModelProperty(value = "规则类型")
    private DriverSpecialRewardRuleType ruleType;

    @ApiModelProperty(value = "司机运营区ID")
    private Long driverRegionId;

}
